package com.aijk.base.entity;

import java.io.Serializable;

public class TaskContext implements Serializable {

    /**
     * 日志表状态，初始状态，插入
     */
    public static final String INIT_STATS = "I";

    /**
     * 日志表状态，正在运行
     */
    public static final String RUN_STATS = "R";

    /**
     * 日志表状态，成功
     */
    public static final String SUCCESS_STATS = "S";
    /**
     * 日志表状态，失败
     */
    public static final String ERROR_STATS = "E";
    /**
     * 日志表状态，未执行
     */
    public static final String UN_STATS = "N";
    public static final String JOB_LOG = "jobLog";
    public static final String TASK_ID = "taskId";
    private int id;
    private int taskId;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getTaskId() {
        return taskId;
    }

    public void setTaskId(int taskId) {
        this.taskId = taskId;
    }

    @Override
    public String toString() {
        return "TaskContext{" +
                "id=" + id +
                ", taskId=" + taskId +
                '}';
    }
}
